package org.example.demoblg.config;

import java.text.SimpleDateFormat;
import java.util.Date;
//https://blog.csdn.net/qq_53573029/article/details/134565649
public class DateUils {


    public static String formatDate(Date date) {

        SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd  HH:mm:ss");
     return formatter.format(date);
    }

}
